body {
  background: #1f1f1f;
  font-family: 'Open Sans', Helvetica, Arial, sans-serif;
  overflow: hidden;
}
.container{
  width: 100%;
  margin: auto;
  text-align: center;
}
.block {
  margin: 5vh 0;
}
.holdable:hover, .holdable:hover:before, .holdable:hover:after{
  animation-play-state: paused !important;
}

.moving-message4 {
  display: inline-block;
  opacity: 1;
  text-align: center;
  font-size: 4vw;
  position: relative;
  overflow: hidden;
}
.moving-message4:before{
  content: attr(data-text);
  opacity: 1;
  color: white;
  text-align: left;
  font-size: 4vw;
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  word-break: break-all;
  animation: gradient-text4 2s infinite;
}

@keyframes gradient-text4 {
  0% {
    width: 0%;
  }
  90%{
    width: 100%;
  }
  to{
    width: 100%;
  }
}

.message {
  overflow: hidden;
  position: relative;
  min-height: 80px;
  font-size: 4vw;
  font-weight: bold;
}

.message-back, .message-front {
  position: absolute;
  top: 0;
  transform: translatex(-50%);
  left: 50%;
}

.message-back {
  /*color: #2f3840;*/
}

.message-overlay {
  overflow: hidden;
  position: relative;
  transform: translateX(-100%);
  transition: transform 4s 0.1s;
  color: transparent;
}

.message-overlay:before {
  content: attr(data-text);
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  color: #fff;
  transform: translateX(100%);
  transition: transform 4s 0.1s;
}

.message-hover:hover .message-overlay {
  transform: translateX(0);
}

.message-hover:hover .message-overlay:before {
  transform: translateX(0);
}

.message-auto-play .message-overlay, .message-auto-play .message-overlay:before {
  animation: message-read 4s infinite;
}

.message-auto-play2 .message-overlay {
  animation: message-read2-mask 8s infinite;
}
.message-auto-play2 .message-overlay:before {
  animation: message-read2-text 8s infinite;
}

@keyframes message-read {
  to {
    transform: translateX(0);
  }
}

@keyframes message-read2-mask {
  from {
    transform: translateX(-100%);
  }
  50%{
    transform: translateX(0);
  }
  to {
    transform: translateX(-100%);
  }
}
@keyframes message-read2-text {
  from {
    transform: translateX(100%);
  }
  50%{
    transform: translateX(0);
  }
  to {
    transform: translateX(100%);
  }
}